# views 路由 + 视图函数

from flask import Blueprint

# 蓝图 需要到__init__.py当中绑定blue
blue = Blueprint('user', __name__)
blue2 = Blueprint('product', __name__)

@blue.route('/')
def index():
    return 'index'


@blue2.route('/product')
def product():
    return 'product'
